﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员年累计
    /// </summary>
    public interface IOperatorYearSum
    {
        void InitOperatorYearSum(int tradeHistoryId);

        void Delete(int year);

        OperatorYearSum GetOperatorYearSum(int operatorid, int year);

        /// <summary>
        /// 获取操作员年数据
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        void SetOperatorYearSum(int operatorid, int tradeHistoryId);



        List<OperatorYearSum> GetGroupOperatorYearChange(int groupId, int year);
    }
}
